Skip to content

chore: disable contested usernames#704

Merged
Syn-McJ merged 5 commits into
dashpay:developfrom
Syn-McJ:chore/usernames-contested-disable
May 28, 2025
Merged

chore: disable contested usernames#704
Syn-McJ merged 5 commits into
dashpay:developfrom
Syn-McJ:chore/usernames-contested-disable

Conversation

@Syn-McJ
Copy link
Copy Markdown
Member

@Syn-McJ Syn-McJ commented May 27, 2025

Issue being fixed or feature implemented

We want to disable contested usernames for now

What was done?

  • Only allow non-contested usernames

How Has This Been Tested?

QA

Breaking Changes

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@Syn-McJ Syn-McJ requested review from Copilot and pankcuf May 27, 2025 13:09
@Syn-McJ Syn-McJ self-assigned this May 27, 2025
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates localization strings across all languages to disable contested usernames and enforce non-contested username rules.

  • Removed references to contested usernames and related invitation flows.
  • Added new validation messages for non-contested usernames (length and numeric requirements).
  • Updated user feedback strings to explain blocked usernames and criteria.

Comment thread DashWallet/en.lproj/Localizable.strings Outdated
"You can enter your key in any of the following formats: WIF/base58/base64/hex" = "You can enter your key in any of the following formats: WIF/base58/base64/hex";

/* Invites */
"You can only create a non-contested username using this invitaiton" = "You can only create a non-contested username using this invitaiton";
Copy link

Copilot AI May 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct the spelling of 'invitaiton' to 'invitation'.

Suggested change
"You can only create a non-contested username using this invitaiton" = "You can only create a non-contested username using this invitaiton";
"You can only create a non-contested username using this invitation" = "You can only create a non-contested username using this invitation";

Copilot uses AI. Check for mistakes.
Comment on lines +4 to +5
/* Usernames */
" of these criteria" = " of these criteria";
Copy link

Copilot AI May 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Having a standalone key ' of these criteria' is confusing; consider merging it with the full sentence key or using a single key for 'The username must meet these criteria'.

Suggested change
/* Usernames */
" of these criteria" = " of these criteria";
/* Username criteria */
"The username must meet these criteria" = "The username must meet these criteria";

Copilot uses AI. Check for mistakes.
/* Validation rule: Between 3 and 24 characters */
"Between %ld and %ld characters" = "Zwischen %1$ld und %2$ld Zeichen";
/* Usernames */
"Between 20 and 23 characters" = "Between 20 and 23 characters";
Copy link

Copilot AI May 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This new validation string is still in English; please provide a German translation.

Suggested change
"Between 20 and 23 characters" = "Between 20 and 23 characters";
"Between 20 and 23 characters" = "Zwischen 20 und 23 Zeichen";

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Contributor

@pankcuf pankcuf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Syn-McJ Syn-McJ merged commit b58040b into dashpay:develop May 28, 2025
1 check passed
@Syn-McJ Syn-McJ deleted the chore/usernames-contested-disable branch May 28, 2025 05:03
@Syn-McJ Syn-McJ restored the chore/usernames-contested-disable branch June 3, 2025 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants